import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    redirect: '/login'
  },
  {
    path: '/login',
    name: 'Login',
    component: () => import(/* webpackChunkName: "about" */ '../views/Login.vue')
  },
  {
    path: '/main',
    name: 'Main',
    component: () => import(/* webpackChunkName: "about" */ '../views/Main.vue')
  },
  {
    path: '/addcase',
    name: 'AddCase',
    component: () => import(/* webpackChunkName: "about" */ '../views/AddCase.vue')
  },
  {
    path: '/userupdate',
    name: 'UserUpdate',
    component: () => import(/* webpackChunkName: "about" */ '../views/UserUpdate.vue')
  },
  {
    path: '/case_item_update',
    name: 'CaseItemUpdate',
    component: () => import(/* webpackChunkName: "about" */ '../views/CaseItemUpdate')
  },
  {
    path: '/case_design_update',
    name: 'CaseDesignUpdate',
    component: () => import(/* webpackChunkName: "about" */ '../views/CaseDesignUpdate')
  },
  {
    path: '/check',
    name: 'Check',
    component: () => import(/* webpackChunkName: "about" */ '../views/Check')
  },
  {
    path: '/case_test_update',
    name: 'CaseTestUpdate',
    component: () => import(/* webpackChunkName: "about" */ '../views/CaseTestUpdate')
  },
  {
    path: '/case_implement',
    name: 'CaseImplement',
    component: () => import(/* webpackChunkName: "about" */ '../views/CaseImplement')
  },
  {
    path: '/case_bug',
    name: 'CaseBug',
    component: () => import(/* webpackChunkName: "about" */ '../views/CaseBug')
  },
  {
    path: '/case_bug_update',
    name: 'CaseBugUpdate',
    component: () => import(/* webpackChunkName: "about" */ '../views/CaseBugUpdate')
  }
]

const router = new VueRouter({
  routes
})

export default router
